<template>
  <div class="vip">
    <div class="vip-content">
      <div class="vip-title">vip</div>
      <div class="vip-content-box">
        <div class="vip-content-title">会员</div>
        <div class="title-line">
          <div class="line-txt">会员</div>
        </div>
        <div class="vip-cards">
          <div class="vip-card basic">
            <!-- <div class="card-header">
              <h3>普通会员</h3>
              <p>会员权益</p>
            </div> -->
            <div class="card-content">
              <div class="card-num-money">499.00$<span>/年</span></div>
              <div class="benefit">开卡量：2</div>
              <div class="benefit">充值费：3%</div>
              <div class="benefit">返佣手续费：15%</div>
            </div>
            <button class="card-btn">已经开通</button>
          </div>

          <div class="vip-card gold">
            <!-- <div class="card-header">
              <h3>黄金会员</h3>
              <p>499.00$/年</p>
              <p>会员权益</p>
            </div> -->
            <div class="card-content">
              <div class="card-num-money">499.00$<span>/年</span></div>
              <div class="benefit">开卡量：2</div>
              <div class="benefit">充值费：3%</div>
              <div class="benefit">返佣手续费：15%</div>
            </div>
            <button class="card-btn">已经开通</button>
          </div>

          <div class="vip-card black">
            <!-- <div class="card-header">
              <h3>黑钻会员</h3>
              <p>699.00$/年</p>
              <p>会员权益</p>
            </div> -->
            <div class="card-content">
              <div class="card-num-money">499.00$<span>/年</span></div>
              <div class="benefit">开卡量：2</div>
              <div class="benefit">充值费：3%</div>
              <div class="benefit">返佣手续费：15%</div>
            </div>
            <button class="card-btn">已经开通</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
  
  <style scoped lang="less">
.vip {
  padding: 1.5rem;
  box-sizing: border-box;
  .vip-content {
    width: 80rem;
    margin: 0 auto;
    // background: #fcf;
    padding: 2rem;
    box-sizing: border-box;
    .vip-title {
      font-family: PingFangSC, PingFang SC;
      font-weight: 500;
      font-size: 1.125rem;
      color: #000000;
      line-height: 1.125rem;
      text-align: left;
      font-style: normal;
    }
    .vip-content-box {
      margin-top: 1.5rem;
      background: #fff;
      padding: 1.5rem;
      box-sizing: border-box;
      border-radius: 1rem;
      .vip-content-title {
        font-family: PingFangSC, PingFang SC;
        font-weight: 500;
        font-size: 1.625rem;
        color: #000000;
        text-align: left;
        font-style: normal;
      }
      .title-line {
        border-bottom: 1px solid rgba(0, 0, 0, 0.85);
        margin: 2rem 0;
        .line-txt {
          width: 86px;
          height: 36px;
          display: flex;
          justify-content: center;
          align-items: center;
          color: #fff;
          background: rgba(0, 0, 0, 0.85);
          border-radius: 8px 8px 0px 0px;
        }
      }
      .vip-cards {
        // display: grid;
        // grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        // gap: 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
    }
  }
}

.vip-card {
  padding-top: 169px;
  box-sizing: border-box;
  width: 293px;
  height: 436px;
  background: linear-gradient(148deg, #fee4b6 0%, #fdcd79 59%, #f8d48c 100%);
  border-radius: 22px;
  border: 4px solid rgba(255, 255, 255, 0.46);
}

.card-header {
  margin-bottom: 2rem;
}

.card-content {
  margin-bottom: 2rem;
  .card-num-money {
    font-family: HarmonyOS_Sans_Black;
    font-size: 40px;
    // color: #af7218;
    font-weight: 600;
    line-height: 56px;
    font-style: normal;
    span {
      font-size: 24px;
    }
  }
}

.benefit {
  margin: 0.5rem 2rem;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  text-align: left;
  font-style: normal;
}

.card-btn {
  width: 100%;
  padding: 0.8rem;
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
}
.basic {
  background-image: url("../../assets/imgs/vip-img/hybg01.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  color: #4689a0;
}
.gold{
  color: #AF7218;
}
.black {
  background-image: url("../../assets/imgs/vip-img/hybg03.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  color: #fff;
}
.basic .card-btn {
  width: 143px;
  height: 42px;
  background: #4689a0;
  border-radius: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.gold .card-btn {
  width: 143px;
  height: 42px;
  background: #C27214;
  border-radius: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.black .card-btn {
  width: 143px;
  height: 42px;
  background: #CF9321;
  border-radius: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}
</style> 